package com.servlet.model.base;

import java.io.Serializable;
import java.sql.Date;

/**
 * @deprecated
 */
public class PassiveAccount  implements Serializable{

	protected String email;
	protected String first_name;
	protected String last_name;
	protected Date birth_date;
	
	protected boolean is_modified_first_name;
	protected boolean is_modified_last_name;
	protected boolean is_modified_birth_date;

	public PassiveAccount()
	{
		email = null;
		first_name = null;
		last_name = null;
		birth_date = null;
		is_modified_first_name = false;
		is_modified_last_name = false;
		is_modified_birth_date = false;
	}
	
	public PassiveAccount(String email, String first_name,
			String last_name, Date birth_date) {
		this.email = email;
		this.first_name = first_name;
		this.last_name = last_name;
		this.birth_date = birth_date;
		is_modified_first_name = false;
		is_modified_last_name = false;
		is_modified_birth_date = false;
	}
	
	public String getEmail()
	{
		return email;
	}
	
	public String getFirst_name()
	{
		return first_name;
	}
	
	public String getLast_name()
	{
		return last_name;
	}
	
	public Date getBirth_date()
	{
		return birth_date;
	}
	
	public boolean getIs_modified_first_name()
	{
		return is_modified_first_name;
	}
	
	public boolean getIs_modified_last_name()
	{
		return is_modified_last_name;
	}
	
	public boolean getIs_modified_birth_date()
	{
		return is_modified_birth_date;
	}
	
	public void setIs_modified_first_name(boolean is_modified_first_name)
	{
		this.is_modified_first_name = is_modified_first_name;
	}
	
	public void setIs_modified_last_name(boolean is_modified_last_name)
	{
		this.is_modified_last_name = is_modified_last_name;
	}
	
	public void setIs_modified_birth_date(boolean is_modified_birth_date)
	{
		this.is_modified_birth_date = is_modified_birth_date;
	}

	public void setBirth_date(Date date)
	{
		this.birth_date = date;
		is_modified_birth_date = true;
	}
	
	public void setFirst_name(String first_name)
	{
		this.first_name = first_name;
		is_modified_first_name = true;
	}
	
	public void setLast_name(String last_name)
	{
		this.last_name = last_name;
		is_modified_last_name = true;
	}
	
}
